package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 理赔基础表
 * </p>
 *
 * @author Generator
 * @since 2024-12-17
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_claim_basis")
@ApiModel(value = "CgnciClaimBasisDO对象", description = "理赔基础表")
public class CgnciClaimBasisDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("理赔基础ID")
    @TableId(value = "basis_id", type = IdType.ASSIGN_ID)
    private Long basisId;

    @ApiModelProperty("业务ID")
    private Long businessId;

    @ApiModelProperty("唯一键")
    private String rowKey;

    @ApiModelProperty("理赔基础类型(1-Risk Attaching（保单签发制）2-Loss Occurring（损失发生制）,码表值:basisType")
    private String basisType;

    @ApiModelProperty("适用险种")
    private String riskSubType;

    @ApiModelProperty("适用险种编码")
    private String riskSubTypeCode;

    @ApiModelProperty("币种(参考码表)")
    private String currency;

    @ApiModelProperty("Cash Call限额")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal cashCallLimit;

    @ApiModelProperty("Loss Advice")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal lossAdvice;

    @ApiModelProperty("是否选中（1-是，0-否）,码表值:isYes")
    private String claimControl;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updateUser;


}
